import '@/assets/style/main.css'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import locale from 'element-plus/es/locale/lang/zh-cn'

import "@/static/iconfont/iconfont.js";
import "@/static/iconfont/iconfont.css";

import { createApp } from 'vue'
import {createPinia} from 'pinia'

import App from './App.vue'
let pinia = createPinia()

import {dispatchEventStorage} from "@/assets/js/dispatchEventStorage.js";

const app = createApp(App);
app.use(router);
app.use(ElementPlus, { locale });
app.use(pinia);
app.use(dispatchEventStorage);

app.mount('#app')
